1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Reference | PathElement


Syntax
PathElement()

DescriptionEach point in a BezierPath is a PathElement object. This object has a number of properties that describe the coordinates and handles of the path point.
Properties
point.cmd
point.x
point.y
point.ctrl1.x
point.ctrl1.y
point.ctrl2.x
point.ctrl2.y

The point.cmd property describes the type of curve this point belongs to. Its value can be MOVETO, LINETO, CURVETO or CLOSE.

See the tutorial on paths to learn about all the properties.